keycloak:
  auth-server-url: http://localhost:8103/auth
  cors: true
  realm: turtech
  resource: turtech-account-client
    #credentials:
    #secret: 1e15bb3d-c1c7-4ced-8721-56ad236ffa89

spring:
  # DATASOURCE PROPERTIES
  datasource:
    driver-class-name: org.postgresql.Driver
    #url: jdbc:postgresql://postgres:5432/turtech
    url: jdbc:postgresql://localhost:5432/turtech
    username: turtech
    #password: ${POSTGRES_PASSWORD}
    password: password
    # Keep the connection alive if idle for a long time (needed in production)
    tomcat:
      test-while-idle: true
      validation-query: SELECT 1
  # JPA / HIBERNATE
  jpa:
    # Show or not log for each sql query
    show-sql: true
    hibernate:
      ddl-auto: none
    properties:
      hibernate:
        # Changing default schema for hibernate
        default_schema: turtech
        # Allows Hibernate to generate SQL optimized for a particular DBMS
        dialect: org.hibernate.dialect.PostgreSQLDialect

server:
#  servlet:
#    context-path: /accounts
  port: 8111

feign:
  hystrix:
    enabled: true